package org.dawning.shop.common.commands.product;

import lombok.AllArgsConstructor;
import lombok.ToString;
import lombok.Value;
import org.axonframework.commandhandling.TargetAggregateIdentifier;
import org.dawning.shop.common.domain.product.ProductId;

/**
 * Created by miou on 2017/6/12 0012.
 */
@Value
@AllArgsConstructor
@ToString
public class OnSaleProductCommand {

    @TargetAggregateIdentifier
    private ProductId productId;
    private String productStatus;
}
